#ifndef LIVESERVER_H
#define LIVESERVER_H

#include "localcapture.h"

class LiveServer
{
public:
    LiveServer(const char *hostname, LocalCapture *capture,
               const unsigned int port = 9696, const unsigned int fps = 25);
    void startLiveServer();

    bool checkRunning() const;

private:
    void localLiveServer();

    bool isRunning, isInit;
    LocalCapture *m_Capture;
    const char *HOSTNAME;
    const unsigned int LIVEPORT, FPS;
};

#endif // LIVESERVER_H
